using System;
using System.Collections.Generic;
using System.Text;

namespace THSLib
{
    #region STTHSDataTablesInfo
    /// <summary>
    /// This object represents the properties and methods of a STTHSDataTables.
    /// </summary>
    public class STTHSDataTablesInfo : BusinessObject
    {

        protected int _sTTHSDataTableID;
        protected string _sTTHSDataTableName = DefaultString;
        protected string _sTTHSDataTableSelectCommand = String.Empty;
        protected int _sTTHSDataSetID;

        public STTHSDataTablesInfo()
        {
        }

        public STTHSDataTablesInfo(string strSTTHSDataTableName, string strSTTHSDataTableSelectCommand, int iSTTHSDataSetID)
        {
            STTHSDataTableName = strSTTHSDataTableName;
            STTHSDataTableSelectCommand = strSTTHSDataTableSelectCommand;
            STTHSDataSetID = iSTTHSDataSetID;
        }

        #region Public Properties
        public int STTHSDataTableID
        {
            get { return _sTTHSDataTableID; }
            set
            {
                if (value != this._sTTHSDataTableID)
                {
                    _sTTHSDataTableID = value;
                    NotifyChanged("STTHSDataTableID");
                }
            }
        }

        public string STTHSDataTableName
        {
            get { return _sTTHSDataTableName; }
            set
            {
                if (value != this._sTTHSDataTableName)
                {
                    _sTTHSDataTableName = value;
                    NotifyChanged("STTHSDataTableName");
                }
            }
        }

        public string STTHSDataTableSelectCommand
        {
            get { return _sTTHSDataTableSelectCommand; }
            set
            {
                if (value != this._sTTHSDataTableSelectCommand)
                {
                    _sTTHSDataTableSelectCommand = value;
                    NotifyChanged("STTHSDataTableSelectCommand");
                }
            }
        }

        public int STTHSDataSetID
        {
            get { return _sTTHSDataSetID; }
            set
            {
                if (value != this._sTTHSDataSetID)
                {
                    _sTTHSDataSetID = value;
                    NotifyChanged("STTHSDataSetID");
                }
            }
        }
        #endregion
    }
    #endregion
}
